﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Category.aspx.cs" Inherits="MobileWeb.Category"
    MasterPageFile="~/Site.Master" %>

<asp:Content runat="server" ID="cCategory" ContentPlaceHolderID="cBody">
    <div class="menu">
        <asp:Repeater runat="server" ID="rptMenu">
            <ItemTemplate>
                <a href='<%# (Convert.ToInt32(Eval("ChildNum")) > 0 ? "Category.aspx?cat=" : "Products.aspx?cat=") + Eval("Name") + "_" + Eval("ID") %>'
                    class="iButton arrow">
                    <%# Eval("Name") %></a>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
